﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Brain.Animation;

namespace Brain
{
    public struct Frame_float : IKeyframe<float>
    {
        public GetGeneric<float> Get { get; set; }

        public SetGeneric<float> Set { get; set; }

        public float Value { get; set; }

        public int Time { get; set; }

        public float Lerp(float value1, float value2, float amount)
        {
            return FloatUtil.Lerp(value1, value2, amount);
        }
    }
}
